package com.example.diet_sport.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

/**
 * @author 伽蓝尘
 * @create 2023-06-05 23:55
 */
public class userfood {
    @TableId(type = IdType.AUTO)
    private Integer id;	//主键id
    private Integer uid;	//用户id
    private Integer fid;	//食物id

    private String name;	//食物名称
    private double kg;//食物重量
    private double heatin;//摄入热量
    private String day;//添加日期
    private String url;//图片

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getFid() {
        return fid;
    }

    public void setFid(Integer fid) {
        this.fid = fid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getKg() {
        return kg;
    }

    public void setKg(double kg) {
        this.kg = kg;
    }

    public double getHeatin() {
        return heatin;
    }

    public void setHeatin(double heatin) {
        this.heatin = heatin;
    }

    public String getDay() {
        return day;
    }

    public void setDay(String day) {
        this.day = day;
    }
}
